home *** CD-ROM | disk | FTP | other *** search
/ telefisk.org / virusCollection.lzx / VirusResearch / * Suspicious * / virus.lha / virus / SNAPSHOT RAM-ICON < prev    next >
Text File  |  1997-05-22  |  3KB  |  76 lines

  1. failat 21
  2.  
  3. if not exists XEN-Icons
  4.   echo "*n Please change current directory to that of MagicWB *n or start the installation from the Workbench!*n"
  5.   quit
  6. endif
  7.  
  8. echo "*n*e[1;32m _____________________________________________________________________"
  9. echo " *e[43m                                                                     *e[0m"
  10. echo " *e[0;32;43m             Welcome to MagicWB v2.0: RAM-Icon SNAPSHOT*e[1m              *e[0m"
  11. echo " *e[1;4;43m                                                                     *e[0m"
  12. echo "*n*n This script should be started AFTER the main installation of MagicWB!"
  13. echo "*n If you do not like the position of the RAM-Icon on your Workbench you"
  14. echo " could obviously drag the Icon to your desired position and select the"
  15. echo " function `Icons/Snapshot' from the Workbench menu.  But the next time"
  16. echo " when  you  reboot  your  system  you'll find the RAM-Icon NOT at your"
  17. echo " previous snapshot-position!"
  18. echo "*n Well,  this  script  provides the solution for all who do not exactly"
  19. echo " know how to preserve the snapshot-position even after a reboot:"
  20. echo "*E[32m*n Just  drag  the  RAM-Icon to your desired position, then snapshot the"
  21. echo " Icon with the function  `Icons/Snapshot'  from the Workbench menu and"
  22. echo " finally start this script with 'yes' or 'y'.*e[0m"
  23. echo noline "*n Start the RAM-Icon snapshot? "
  24.  
  25. set > nil: InpVar ?
  26.  
  27. if $InpVar eq "ja"
  28.   skip Start
  29. endif
  30.  
  31. if $InpVar eq "j"
  32.   skip Start
  33. endif
  34.  
  35. if $InpVar eq "y"
  36.   skip Start
  37. endif
  38.  
  39. if $InpVar eq "yes"
  40.   skip Start
  41. endif
  42.  
  43. echo noline "*n*e[32m Snapshot aborted."
  44. quit
  45.  
  46. lab Start
  47.  
  48. if exists SYS:S/RAM.info
  49.   copy > NIL: RAM:Disk.info TO SYS:S/RAM.info
  50.   if warn
  51.     echo "*n*e[32m Snapshot failed!"
  52.     skip end
  53.   endif
  54.   echo "*e[32m*n RAM-Icon snapshot successfully finished!"
  55. else
  56.   echo "*e[1;1H*e[J"  
  57.   echo "*n*n*N I could not find `RAM.info' in your S: directory! You probably"
  58.   echo " did not install *e[32mMagicWB*e[0m with the INSTALLER that was provided"
  59.   echo " with the package. Therefore the `Copy RAM-Icon' line could not"
  60.   echo " be added to the `User-Startup' and the RAM-Icon is not located"
  61.   echo " in the right place!"
  62.   echo "*n Unfortunately you have installed *e[32mMagicWB*e[0m manually thus having"
  63.   echo " wasted more time than would have been necessary if you had" 
  64.   echo " wisely used the Installer!" 
  65.   echo "*n Paradoxically enough you are using this script at the moment"
  66.   echo " which you really do not need if you have had the ability to"
  67.   echo " install *e[32mMagicWB*e[0m by yourself! Bye..."
  68.   echo "*n*n     [Return]"
  69.   set > nil: Return ?
  70.   skip end
  71. endif
  72.  
  73. wait 2
  74. lab end
  75. quit
  76.